package com.c6906.vdam.das.config;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "rocket")
@Data
public class Rocket {
    @ApiModelProperty(value = "RocketMQ的IP地址和端口")
    private String endpoints;

    @ApiModelProperty(value = "禁区判断消费者组")
    private String fenceConsumerGroup;

    @ApiModelProperty(value = "设备基本位置数据Topic")
    private String vehicleTopic;

    @ApiModelProperty(value = "RocketMQ单次批量消费记录条数")
    private int batchSize;

    @ApiModelProperty(value = "RocketMQ启动线程数")
    private int poolSize;
}
